export const getUrlToken = () => {
    if(window.location.search!="" && window.location.search.indexOf("?") != -1){
        let params = window.location.search.split("?")[1].split("&")
        let obj = {}
        params.map(v => obj[v.split("=")[0]] = v.split("=")[1])
        console.log(obj);
        return obj;
    }else{
        return
    }
}